#!/bin/bash

#SAMPLING=f
N=200
folder=mbsample

for X in 0 1 2 3 4 5 6 7 8; do
    echo $X
   #./${METHOD}.py -s  ../data/another/nosample/s${X} > ../data/another/nosample/${METHOD}${X}
   #./sample.py -t -${X} -s ${SAMPLING} -n $N  ../data/real10 > ../data/another/${folder}/s${X}_${N}
   ./ma.py -s ../data/another/${folder}/s${X}_${N} >  ../data/another/${folder}/ma${X}_${N}
   ./lo.py -s ../data/another/${folder}/s${X}_${N} >  ../data/another/${folder}/lo${X}_${N}
   ./qp.py -s ../data/another/${folder}/s${X}_${N} >  ../data/another/${folder}/qp${X}_${N}
done

#counter=0
#X=0
#while [ $counter -lt 100 ]; do
#    #echo $counter
#    let counter=counter+1
#    let X=$X-0.2561
#    echo $X
#done


#  METHOD=qp
#  T=3 # turn 

#  ./${METHOD}.py -s ../data/7mer_population ../data/fdsample/s${X}_10_$T > ../data/fdsample/${METHOD}${X}_10_$T
#  ./${METHOD}.py -s ../data/7mer_population ../data/fdsample/s${X}_20_$T > ../data/fdsample/${METHOD}${X}_20_$T
#  ./${METHOD}.py -s ../data/7mer_population ../data/fdsample/s${X}_50_$T > ../data/fdsample/${METHOD}${X}_50_$T
#  ./${METHOD}.py -s ../data/7mer_population ../data/fdsample/s${X}_200_$T > ../data/fdsample/${METHOD}${X}_200_$T

#  ./${METHOD}.py -s ../data/7mer_population ../data/bmsample/s${X}_10_$T > ../data/bmsample/${METHOD}${X}_10_$T
#  ./${METHOD}.py -s ../data/7mer_population ../data/bmsample/s${X}_20_$T > ../data/bmsample/${METHOD}${X}_20_$T
#  ./${METHOD}.py -s ../data/7mer_population ../data/bmsample/s${X}_50_$T > ../data/bmsample/${METHOD}${X}_50_$T
#  ./${METHOD}.py -s ../data/7mer_population ../data/bmsample/s${X}_200_$T > ../data/bmsample/${METHOD}${X}_200_$T
#done

#for X in 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9 9.5 10
#do
#  echo $X
  # generating predictions using no sampling
  #./match.py -s ../data/7mer_population ../data/nosample/s$X > ../data/nosample/ma$X
  #./lo.py -s ../data/7mer_population ../data/nosample/s$X > ../data/nosample/lo$X
  #./qp.py -s ../data/7mer_population ../data/nosample/s$X > ../data/nosample/qp$X

  # generating data with different sampling
  #./sample.py -t -$X -s f -n 10 -m ../data/real ../data/7mer_population > ../data/fdsample/s${X}_10_3
  #./sample.py -t -$X -s f -n 20 -m ../data/real ../data/7mer_population > ../data/fdsample/s${X}_20_3
  #./sample.py -t -$X -s f -n 50 -m ../data/real ../data/7mer_population > ../data/fdsample/s${X}_50_3
  #./sample.py -t -$X -s f -n 200 -m ../data/real ../data/7mer_population > ../data/fdsample/s${X}_200_3

  #./sample.py -t -$X -s b -n 10 -m ../data/real ../data/7mer_population > ../data/bmsample/s${X}_10_3
  #./sample.py -t -$X -s b -n 20 -m ../data/real ../data/7mer_population > ../data/bmsample/s${X}_20_3
  #./sample.py -t -$X -s b -n 50 -m ../data/real ../data/7mer_population > ../data/bmsample/s${X}_50_3
  #./sample.py -t -$X -s b -n 200 -m ../data/real ../data/7mer_population > ../data/bmsample/s${X}_200_3
